import Vue from 'vue'
import App from './App.vue'
import 'element-ui/lib/theme-chalk/index.css'
import '../public/css/iconfont.css'
import ElementUI from 'element-ui'
import VueTypedJs from 'vue-typed-js'
import router from './models/router'
import request from './api/index'
import store from './store/index'

Vue.use(ElementUI)
Vue.use(VueTypedJs)
Vue.config.productionTip = false
// 注册封装的request到全局
Vue.prototype.$req = request

new Vue({
  router,
  store,
  render: h => h(App),
}).$mount('#app')
